package com.momo.momobackendserviceclient.service;


import com.momo.momobackendmodel.model.entity.QuestionSubmit;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 十三
 * @create 2024-03-03 18:19
 * @Description:
 */
@FeignClient(name = "momo-backend-judge-service",path = "/api/judge/inner")
public interface JudgeFeginClient {

    /**
     * 判题
     * @param questionSubmitId
     * @return
     */
    @GetMapping("/do")
    QuestionSubmit doJudge(@RequestParam("questionSubmitId") long questionSubmitId);

}
